package com.mango.game.dtos;

public class JvmInfoDTO {

    // 堆内存使用量（字节）
    private long heapMemoryUsed;

    // 堆内存总量（字节）
    private long heapMemoryTotal;

    // 非堆内存使用量（字节）
    private long nonHeapMemoryUsed;

    // 最大堆内存（字节）
    private long maxHeapMemory;

    // 线程总数
    private int threadCount;

    // 活动线程数
    private int activeThreadCount;

    // 已加载的类数目
    private int loadedClassCount;

    public long getHeapMemoryUsed() {
        return heapMemoryUsed;
    }

    public void setHeapMemoryUsed(long heapMemoryUsed) {
        this.heapMemoryUsed = heapMemoryUsed;
    }

    public long getHeapMemoryTotal() {
        return heapMemoryTotal;
    }

    public void setHeapMemoryTotal(long heapMemoryTotal) {
        this.heapMemoryTotal = heapMemoryTotal;
    }

    public long getNonHeapMemoryUsed() {
        return nonHeapMemoryUsed;
    }

    public void setNonHeapMemoryUsed(long nonHeapMemoryUsed) {
        this.nonHeapMemoryUsed = nonHeapMemoryUsed;
    }

    public long getMaxHeapMemory() {
        return maxHeapMemory;
    }

    public void setMaxHeapMemory(long maxHeapMemory) {
        this.maxHeapMemory = maxHeapMemory;
    }

    public int getThreadCount() {
        return threadCount;
    }

    public void setThreadCount(int threadCount) {
        this.threadCount = threadCount;
    }

    public int getActiveThreadCount() {
        return activeThreadCount;
    }

    public void setActiveThreadCount(int activeThreadCount) {
        this.activeThreadCount = activeThreadCount;
    }

    public int getLoadedClassCount() {
        return loadedClassCount;
    }

    public void setLoadedClassCount(int loadedClassCount) {
        this.loadedClassCount = loadedClassCount;
    }
}
